package com.lottery.common.entity;

    import java.math.BigDecimal;
    import java.util.Date;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.fasterxml.jackson.annotation.JsonInclude;
    import com.lottery.common.model.BaseModel;

    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 会员信息表
    * </p>
*
* @author jobob
* @since 2019-09-23
*/
    @Data
        @EqualsAndHashCode(callSuper = true)
    @Accessors(chain = true)
    @TableName("tb_member_info")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModel(value="TbMemberInfo对象", description="会员信息表")
    public class MemberInfo extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(exist=false)
    @ApiModelProperty(value = "1安卓 2ios 3 游客登录 ")
    private Integer loginType;

    @TableField(exist=false)
    @ApiModelProperty(value = "是否会员 0是  ")
    private Integer isExpired=1;

//    @TableField(exist=false)
    @ApiModelProperty(value = "认证状态 0 已认证 1未认证 2认证中 3 认证失败 ")
    private Integer isCertify;


    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "简介")
    private String intro;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "会员过期时间")
    private Date expiredTime;

    private Date expiredCreateTime;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    private Date updateTime;

    @ApiModelProperty(value = "账号是否可用(0.可用  1.禁用 2 注销)")
    private Integer status;

    @ApiModelProperty(value = "金币")
    private BigDecimal gold;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @TableField(exist=false)
    private Integer fans;

    @ApiModelProperty(value = "会员编号")
    private String memberNumber;

//    @ApiModelProperty(value = "真实姓名")
//    private String realName;
//
//    @ApiModelProperty(value = "身份证号")
//    private String cardNum;

    @ApiModelProperty(value = "ios设备号")
    private String equipmentNum;

    @ApiModelProperty(value = " 会员标识  1大神 2 专家 3 普通 ")
    private Integer memberIdentify;
    @ApiModelProperty(value = " 是否晋升 0是")
    @TableField(exist=false)
    private Integer isPromote;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    public Integer getIsExpired() {
        return isExpired;
    }

    public void setIsExpired(Integer isExpired) {
        this.isExpired = isExpired;
    }

    public Integer getIsCertify() {
        return isCertify;
    }

    public void setIsCertify(Integer isCertify) {
        this.isCertify = isCertify;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Date expiredTime) {
        this.expiredTime = expiredTime;
    }

    public Date getExpiredCreateTime() {
        return expiredCreateTime;
    }

    public void setExpiredCreateTime(Date expiredCreateTime) {
        this.expiredCreateTime = expiredCreateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getGold() {
        return gold;
    }

    public void setGold(BigDecimal gold) {
        this.gold = gold;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getMemberNumber() {
        return memberNumber;
    }

    public void setMemberNumber(String memberNumber) {
        this.memberNumber = memberNumber;
    }

    public String getEquipmentNum() {
        return equipmentNum;
    }

    public void setEquipmentNum(String equipmentNum) {
        this.equipmentNum = equipmentNum;
    }
}
